﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Portfolio.IViews.Admin;
using Portfolio.Presenters.Admin;
using Portfolio.Entities;
using Portfolio.UI.Admin.Controls;

namespace Portfolio.UI.Admin
{
    public partial class AdminArticles : System.Web.UI.Page
    {
        private AdminArticlesPresenter _presenter;

        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            Init_gvListArticlesControl();            
        }

        private void Init_gvListArticlesControl()
        {
            _presenter = new AdminArticlesPresenter(gvListArticlesControl);            
        }

        protected void Page_Load(object sender, EventArgs e)
        {           
            
        }     

        protected void Page_Render(object sender, EventArgs e)
        {
            //gvListArticlesControl.SortDirection = ViewState["SortDirection"];
        } 
    }
}